package com.example.pickupclosefirstdemo.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.example.pickupclosefirstdemo.R;
import com.example.pickupclosefirstdemo.databinding.FragmentInterflowSecondBinding;
import com.example.pickupclosefirstdemo.fragmentinterflowactivity.InterflowActivity;
import com.example.pickupclosefirstdemo.util.LogUtil;

public class InterflowSecondFragment extends BaseFragment<FragmentInterflowSecondBinding> {

    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_interflow_second;
    }

    @Override
    public int initVariableId() {
        return 0;
    }

    @Override
    protected void initData() {
        binding.tvModuleSecondCall.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                InterflowActivity activity = (InterflowActivity)getActivity();
                activity.getActStr("右侧点击");
            }
        });

    }

}
